﻿<UserControl x:Class="Caliburn.Micro.SimpleNavigation.ShellView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:tc="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit" xmlns:Navigation="clr-namespace:Caliburn.Micro.Navigation;assembly=Caliburn.Micro.Navigation" xmlns:Controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation">
	<tc:DockPanel>
		<StackPanel Orientation="Horizontal"
                    HorizontalAlignment="Center"
		            tc:DockPanel.Dock="Top">
			<Button x:Name="ShowPageOne"
			        Content="Show Page One" />
			<Button x:Name="ShowPageTwo"
			        Content="Show Page Two" />
		</StackPanel>

        <Controls:Frame x:Name="ActiveItem" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" >
            <Controls:Frame.ContentLoader>
                <Navigation:CaliburnContentLoader/>
            </Controls:Frame.ContentLoader>
        </Controls:Frame>
    </tc:DockPanel>
</UserControl>